! function(o) {
	"use strict";
	o.fn.toTop = function(t) {
		var i = this,
			e = o(window),
			s = o("html, body"),
			n = o.extend({
				autohide: !0,
				offset: 420,
				speed: 500,
				position: "absolute",
			}, t);
		i.css({
			cursor: "pointer"
		}), n.autohide && i.css("display", "block"), n.position && i.css({
			position: "absolute",
			right: n.right,
			bottom: n.bottom,
		}), i.click(function() {
			s.animate({
				scrollTop: 0
			}, n.speed)
		})
	}
}(jQuery);
$(window).scroll(function() {
	$("#menu .dropdown").hover(function() {
		$('.dropdown-menu').show();
	});
});